package com.wyp168.juc;

/**
 * @ClassName CallableTest
 * @Description TODO
 * @Author wyp168
 * @Date 2022/6/30 15:00
 */
public class CallableTest {
    public static void main(String[] args) {
    }

}
class CalleableTest implements Runnable {

    private int a = 1;

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + "---->   " + a++);
    }
}